﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace WebCommit.Common.Models
{
	public class LoginRequest
	{
		/// <summary>
		/// 用户名
		/// </summary>
		public string UserName
		{
			get;
			set;
		}
		/// <summary>
		/// 密码
		/// </summary>
		public string Password
		{
			get;
			set;
		}
		/// <summary>
		/// 自动登录
		/// </summary>
		public bool AutoLogin
		{
			get;
			set;
		}
		/// <summary>
		/// 是否登录成功
		/// </summary>
		public bool IsLoginSucess
		{
			get;
			set;
		}
		/// <summary>
		/// 是否已经执行过了登录操作
		/// </summary>
		[DefaultValue(false)]
		public bool IsActLogin
		{
			get;
			set;
		}

		public string RedirctUrl
		{
			get;
			set;
		}
	}
}
